package com.xhsj.user.lsm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhsj.user.lsm.entity.TbContractFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 合同文件表 Mapper 接口
 * </p>
 *
 * @author suxiaolin
 * @since 2020-05-11
 */
@Mapper
public interface TbContractFileMapper extends BaseMapper<TbContractFile> {

    //合同文件相关的数据
    List<Map<String, Object>> contractFileList(@Param("dataId") String dataId, @Param("type") int type);

    //查询合同文件列表
    List<TbContractFile> contractFileListByDataId(@Param("id") Serializable id);
}
